package edu.sctu.wangxiaoqiang.day20150510;

/**
 * Created by user25 on 2015/5/10.
 */
public class TextFour {

    private TextTwo textTwo;

    public TextFour(TextTwo textTwo){
        this.textTwo = textTwo;
    }
    public void haveIt(){
        if (textTwo.getAge()>20){
            System.out.println(textTwo.getAge());

        }

    }
}
